package com.xjtu.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;


@Data
@ApiModel(value = "Event对象", description = "事件")
public class EventVo {
    @ApiModelProperty(value = "事件类型", dataType = "String", example = "connect")
    private String type;

    @ApiModelProperty(value = "事件信息", dataType = "Map", example = "json格式数据")
    private Map<String, Object> message;
}
